<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-html" prefix="html" %>
<%@ taglib uri="/terasoluna-struts" prefix="ts" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String imagePath = basePath + "admin/images";
%>
<html:html>
<head>
<title>企业信息管理系统_用户登录</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #016aa9;
	overflow:hidden;
}
.STYLE1 {
	color: #000000;
	font-size: 12px;
}

.input {
	width:80px; height:20px; background-color:#292929; border:solid 1px #7dbad7; font-size:12px; color:#6cd0ff
}
.errorStyle {font-size: 12px; color: red;}
-->
</style>
<script language="JavaScript">if (window != top) top.location.href = location.href;</script>
</head>
<body>
<html:form action="/logon.do" method="post" styleId="logonForm">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="962" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="235" background="<%=imagePath%>/login_03.gif">&nbsp;</td>
      </tr>
      <tr>
        <td height="53"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="394" height="53" background="<%=imagePath%>/login_05.gif">&nbsp;</td>
            <td width="206" background="<%=imagePath%>/login_06.gif">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="25%" height="25"><div align="right"><span class="STYLE1">用户</span></div></td>
                <td width="20%" height="25">
                <div align="center"><html:text property="name" styleClass="input"/></div>
                </td>
                <td width="50%" height="25">
                <span class="errorStyle"><ts:errors/></span>
                </td>
              </tr>
              <tr>
                <td height="25"><div align="right"><span class="STYLE1">密码</span></div></td>
                <td height="25"><div align="center"><html:password property="password" styleClass="input"/></div></td>
                <td height="25"><div align="left">
                <a href="#" onClick='javascript:document.getElementById("logonForm").submit();'>
                <img src="<%=imagePath%>/dl.gif" width="49" height="18" border="0"></a>
                </div>
                </td>
              </tr>
            </table></td>
            <td width="362" background="<%=imagePath%>/login_07.gif">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="213" background="<%=imagePath%>/login_08.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</html:form>
</body>
</html:html>
